import Vue from 'vue'
import Router from 'vue-router'
import MovieRoter from './movie'
import MineRoter from './mine'
import CliemaRoter from './cinema'

Vue.use(Router)

export default new Router({
  linkActiveClass:"active",
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [
    MovieRoter,
    MineRoter,
    CliemaRoter,
    {
      path: "/*",
      redirect: "/movie"
    }
  ]
})
